package model

type ReqRobot struct {
	Id        int    `xorm:"not null pk autoincr INT(10)" json:"id" form:"id"`
	Acid      int    `xorm:"" json:"acid" form:"acid"`
	Nickname  string `xorm:"" json:"nickname" form:"nickname"  binding:"required" required_err:"请输入昵称"`
	Avatar    string `xorm:"" json:"avatar" form:"avatar"  binding:"required" required_err:"请上传头像"`
	CreatedAt int    `xorm:"created" json:"created_at"`
	UpdatedAt int    `xorm:"updated" json:"updated_at"`
	DeletedAt int    `xorm:"deleted" json:"deleted_at"`
}

func (ReqRobot) TableName() string {
	return "robot"
}
